﻿using System;
using System.Configuration;

namespace HoangPhap.Utilities
{
    public class Configs
    {
        public static string WebName = ConfigurationManager.AppSettings["WebName"];
        public static string WebTitle = ConfigurationManager.AppSettings["WebTitle"];
        public static string WebDescription = ConfigurationManager.AppSettings["WebDescription"];
        public static string HomeUrl = ConfigurationManager.AppSettings["HomeUrl"];
        public static string HomeUrlAdmin = ConfigurationManager.AppSettings["HomeUrl.Admin"];
        public static string UserFolder = ConfigurationManager.AppSettings["UserFolder"];
        public static string UserVirtualFolder = ConfigurationManager.AppSettings["UserVirtualFolder"];
        public static string FolderSaveData = ConfigurationManager.AppSettings["FolderSaveData"];
        public static string SmtpHost = ConfigurationManager.AppSettings["SmtpHost"];
        public static string SmtpUser = ConfigurationManager.AppSettings["SmtpUser"];
        public static string SmtpPass = ConfigurationManager.AppSettings["SmtpPass"];
        public static string Domain = ConfigurationManager.AppSettings["Domain"];
        public static string WebCacheServer = ConfigurationManager.AppSettings["WebCacheServer"];
        public static int WebCacheServerPort = Convert.ToInt32(ConfigurationManager.AppSettings["WebCacheServerPort"]);
        public static string WebMasterEmail = ConfigurationManager.AppSettings["WebMasterEmail"];
        public static string ProxyServer = ConfigurationManager.AppSettings["ProxyServer"];
        public static string ProxyPort = ConfigurationManager.AppSettings["ProxyPort"];
        public static string ProxyUserName = ConfigurationManager.AppSettings["ProxyUserName"];
        public static string ProxyPassword = ConfigurationManager.AppSettings["ProxyPassword"];
        public static string ProxyUserDomain = ConfigurationManager.AppSettings["ProxyUserDomain"];
    }
}
